package com.cuit.qx.utils;

/**
 * @Author:wjd
 * @Description:
 * @date:Created in 12:41 2020/9/16
 * @Modified By:
 */
public enum ReturnStateCode {
    SUCCEE(20000,"成功"),
    FAILED(400,"失败"),
    SUCCEEBUT(20000,"查询成功，但无数据"),
    FAILEDCODE(2002,"必要字段未传");


    // 成员变量
    private int code;
    private String msg;

    // 构造方法
    private ReturnStateCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
